GetLuminancePloy. Get brightness settings.

Request

<?xml version="1.0" encoding="utf-8"?>

<sdk guid="##GUID">

<in method="GetLuminancePloy"/>

</sdk>

 

<!--

Description:

    1. Sdk.guid is the guid value obtained through the negotiation of the SDK protocol version.

-->

Respond

 

<?xml version="1.0"encoding="utf-8"?>

<sdkguid="##GUID">

<out method="GetLuminancePloy"result="##result">

<mode value="##value"/>

<default value="##value"/>

<ploy>

<item enable="##value" start="##value" percent="##value"/>

</ploy>

<sensor min="##value" max="##value" time="##value"/>

</out>

</sdk>

 

<!--

Description:

    1. Sdk.guid is the guid value obtained through the negotiation of the SDK protocol version.

    2. out.method =GetWifiInfo

    3. out.result :  (The error code refers to ErrorCode.)

    4. out.result : When the value is not "kSuccess", out has no child nodes.

    5. mode.value :Value range {"default" (default), "ploys" (custom mode), "sensor" (sensor mode)}.

    6. The range of brightness levels [1, 100].

    7. default.value: The brightness level in the default mode.

    8. The ploy node can contain multiple item sub-nodes, indicating that different brightness levels can be set for different time periods.

    9. item.enable: Whether the item is enable, the value range is {"true" (enable), "false" (not enable)}.

    10.item.start: The time to start changing the brightness level, format: hh:mm:ss.

    11.item.percent: brightness level

    12.sensor.min: The minimum brightness level in sensor mode.

    13.sensor.max: The maximum brightness level in sensor mode.

    14.sensor.time: The interval between brightness adjustments, the range of values [5, 15] (in seconds).

-->